import request from '@/utils/request'
export function bannerList (params) {
  return request({
    url: '/BannerInfoController/list',
    method: 'get',
    params: params
  })
}
// export function sortUpdate (params) {
//   return request({
//     url: '/BannerInfoController/update',
//     method: 'put',
//     params: params
//   })
// } 
export function saveUpdate (data) {
  return request({
    url: '/BannerInfoController/update',
    method: 'post',
    data: data
  })
} 
export function selectById (params) {
  return request({
    url: '/BannerInfoController/getById',
    method: 'get',
    params
  })
} 

export function recommendList (params) {
  return request({
    url: '/RecommendInfoController/list',
    method: 'get',
    params: params
  })
} 
export function recommendDelById (params) {
  return request({
    url: '/RecommendInfoController/delete',
    method: 'get',
    params: params
  }) 
} 